package com.dtx.practice.seven;

public class Testclass {
    public static void main(String[] args) {
        new A();
    }
}

class B extends Object{
    static {
        System.out.println("Load B");
    }
    public B(){
        System.out.println("Create B");
    }
}

class A extends B{
    static {
        System.out.println("Load A");
    }
    public A(){
        System.out.println("Create A");
    }
}
